home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970929-19971216 / 000172_news@newsmaster….columbia.edu _Thu Oct 23 10:06:50 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA07137
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 23 Oct 1997 10:06:49 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA29825
  7.     for kermit.misc@watsun; Thu, 23 Oct 1997 10:06:49 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Dedicated hard-copy printer
  12. Date: 23 Oct 1997 14:06:47 GMT
  13. Organization: Columbia University
  14. Lines: 44
  15. Message-ID: <62nlln$4mp$1@apakabar.cc.columbia.edu>
  16. References: <62m3b2$lc5$1@samba.rahul.net>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7952
  19.  
  20. In article <62m3b2$lc5$1@samba.rahul.net>,  <dold@network.rahul.net> wrote:
  21. : I have an application where we used to have a serial VT100 terminal
  22. : (honest-to-goodness DEC), and a serial printer slaved to it.
  23. : The printer died.
  24. : I thought I'd replace the terminal and printer with a PC running MSKermit
  25. : 3.15, and a parallel printer.
  26. :
  27. Since the VT100 had a serial printer, of course, you could just skip the PC
  28. and put the serial printer where the VT100 used to be (assuming you didn't
  29. really use the VT100 for anything).  But I'm sure you thought of that...
  30.  
  31. : I can't figure out how to get the printer to print everything that appears
  32. : on the screen in real time.
  33. : I tried "log session lpt1" which sort of works, except that it doesn't
  34. : print until I quit kermit...  
  35. That's because Kermit sends print material to the DOS printer device, which
  36. is buffered (by DOS).  If it didn't do it this way, it would have to
  37. incorporate its own printer drivers, parallel port drivers, etc, and then it
  38. would no longer be a small program.
  39.  
  40. : The printout is kept as a historical log file, which can only be replaced
  41. : by disk logs if I devote some educational effort toward the techs involved. 
  42. : I'd rather not, if I can get the dedicated printer working ;-)
  43. >From the KERMIT.BWR file that comes with MS-DOS Kermit:
  44.  
  45. The session log is written to disk by DOS.  The frequency with which DOS
  46. updates this file is governed by the BUFFERS= line in your CONFIG.SYS file
  47. (see your DOS manual).  If you allocate a large number of buffers in
  48. CONFIG.SYS, disk operations occur infrequently and this improves performance.
  49. If you need to have the session log updated more frequently to minimize the
  50. loss of data, e.g. when there is a power failure, you can do this (at the
  51. expense of efficiency) by allocating fewer buffers in CONFIG.SYS.
  52.  
  53. (End quote)
  54.  
  55. In other words, it's a DOS limitation.  Interested parties are, of course,
  56. welcome to recommend (or write) alternative printer drivers that can be
  57. configured to behave differently.
  58.  
  59. - Frank